﻿using System.IO;

namespace hlighttohtml
{
    class FileExtension
    {
        public string GetExtension(string filename)
        {
            string exten = "";
            FileInfo file = new FileInfo(filename);
            exten = file.Extension;
            exten = exten.Substring(1);
            return exten;
        }
        
    }
}
